<div class="bubble-popup-container">
  <div class="bubble-popup-title">{{t 'component_viewer.transition.duplication'}}</div>
  {{#each duplications}}
    <div class="bubble-popup-section">
      {{#notEqComponents file ../component}}
        <div class="component-viewer-popup-label" title="{{projectFullName file}}">
          <i class="icon-qualifier-trk"></i> {{projectFullName file}}
        </div>
      {{/notEqComponents}}

      {{#notEq file.key ../component.key}}
        <a class="link-action" data-key="{{file.key}}" title="{{file.name}}">
          {{file.name}}
        </a>
      {{/notEq}}

      <div class="component-viewer-popup-duplications">
        Lines:
        {{#joinEach blocks ','}}
          <a class="link-action" data-key="{{../file.key}}" data-line="{{from}}">
            {{from}} – {{sum from size}}
          </a>
        {{/joinEach}}
      </div>
    </div>
  {{else}}
    {{t 'duplications.block_was_duplicated_by_a_deleted_resource'}}
  {{/each}}
</div>

<div class="bubble-popup-arrow"></div>
